package com.xbongbong.paas.pojo.vo;

import com.xbongbong.paas.toolbox.wrap.BaseVO;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.util.Objects;

@Getter
@Setter
@ToString
public class MenuFormCopyVO extends BaseVO {
    private static final long serialVersionUID = 6455875980986059568L;
    /**
     * 菜单表单id
     */
    private Long menuId;

    /**
     * 表单id
     */
    private Long formId;
    /**
     * 表单名称
     */
    private String formName;

    /**
     * 表单字段描述id
     */
    private Long formExplainId;

    /**
     *
     */
    private Integer saasMark;

    /**
     *
     */
    private Integer businessType;

    /**
     * 前端是否需要展示复制业务规则失败的提示，0表示需要， 1表示不需要
     */
    private Integer overBusinessRuleCount;

    public Integer getOverBusinessRuleCount(){
        return Objects.isNull(overBusinessRuleCount) ? new Integer(0) : overBusinessRuleCount;
    }

}
